package com.wzy.mall.mapper.clientMapper;

import com.wzy.mall.model.bo.clientBO.LoginBO;
import com.wzy.mall.model.bo.clientBO.SignupBO;
import com.wzy.mall.model.bo.clientBO.UserPwdBO;
import com.wzy.mall.model.bo.clientBO.UserUpdateDataBO;
import com.wzy.mall.model.vo.clientVO.LoginVO;
import com.wzy.mall.model.vo.clientVO.UserDataVO;

public interface UserMapper {

    LoginVO selectUserByEmailAndPassword(LoginBO loginBO);

    int insertUser(SignupBO signupBO);

    UserDataVO selectUserByNickname(String token);

    int selectPwdByID(UserPwdBO userPwdBO);

    int updatePwdByID(UserPwdBO userPwdBO);

    int updateUserData(UserUpdateDataBO userUpdateDataBO);

}
